<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2017/9/24
  Time: 13:39
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<head>
    <base href="<%=basePath%>"/>
    <title>Title</title>
</head>
<body>
<h1>用户注册</h1>
<hr/>
<form name="register_form" method="post" action="user/register.do">
    <label for="username">用户&emsp;名: </label> <input name="username" type="text" id="username"/><br/>
    <label for="password">用户密码: </label> <input name="password" type="password" id="password"/><br/>
    <label for="email">邮&emsp;&emsp;箱: </label> <input name="email" type="text" id="email"/><br/>
    <label for="phone">手机号码: </label> <input name="phone" type="text" id="phone"/><br/>
    <label for="question">验证问题: </label> <input name="question" type="text" id="question"/><br/>
    <label for="answer">问题答案: </label> <input name="answer" type="text" id="answer"/><br/>
    <input type="submit"/>
</form>
</body>
</html>
